home *** CD-ROM | disk | FTP | other *** search
- Path: myst.plaza.ds.adp.com!timh
- From: timh@news (Tim Harvey)
- Newsgroups: comp.object,comp.software-eng,comp.lang.c++
- Subject: Re: Moving from C to C++
- Followup-To: comp.object,comp.software-eng,comp.lang.c++
- Date: 9 Jan 1996 18:35:04 GMT
- Organization: news
- Message-ID: <4cucgo$4c0@myst.plaza.ds.adp.com>
- References: <4cs44p$3pk@ixnews8.ix.netcom.com>
- NNTP-Posting-Host: terminus.plaza.ds.adp.com
- X-Newsreader: TIN [version 1.2 PL2]
-
-
- I was involved with training at Mentor Graphics when they were a Beta
- test site for AT&T cfront in the late 80s. Based on that experiences
- here are a few suggestions/observations:
-
-
- Don't let your company cheap out on training. Most managements will say
- something like "hey, C is a subset of C++, so my guys are basically already
- traianed." A big WRONG. You'll get a missuse of C++ that could very easily
- result in slowwwwww, poorly engineered code that will have to be redone.
- Trial and error is not the way to adopt C++.
-
- Making the shift is not trivial. We found that it takes between 3-6 months
- of doing nothing but working with C++ to understand it, and the difference
- has to do with whether or not there is access to an experienced guru.
-
- Spend some money on getting an experienced C++ expert in to not so much
- teach syntax, but to get your guys thinking objects. One way to do this
- is to send your guys. . . not to C++ training, but to a Smalltalk class
- where they won't be tripped-up by what they already know about C, and where
- they are forced to work in a pure OO setting. BTW, your resident C++
- coach should be directly involved in tool selection and project design.
-
- If you're not looking at class libraries from vendors like Rogue Wave,
- you should. The same for development tools. Don't waste time and
- resources re-inventing low-level classes, or waste your developers by
- sending them in to do battle without good tools. Things like purify
- should be there from the first day. Have your resident guru get your
- guys up on them.
-
- The great advantage of C++ is code resuse and the ability to do larger,
- more complex projects. This won't happen if you turn people with a C
- way of thinking loose with the idea that it's a simple syntax problem
- to step up to C++. The shift is worthwhile, providing the "ingredients" for
- achieving the benefits of C++ are in place -- they are:
-
- 1. OO training
- 2. Resident gurus to provide guidance
- 3. OO design based on commercial libraries - you do the real stuff.
- Reinventing String classes is a fun exercise, but it won't get
- your project done.
- 4. Good tools.
-
-
- And. . . good luck.
-
- Tim
-
-
- Rocco Pochy (pochy@pop.ix.netcom.com) wrote:
-
- : Hello.
-
- : Our company is looking at moving toward C++ and the object-oriented
- : paradigm. Unfortunately, the engineering staff is trained in C. Does
- : anybody have any experiences in moving from a structure C environment
- : to that of an object-oriented C++ environment?
-
- : Is it better to ease everyone into using C++ as a better C and take
- : advantage of the encapsulation, getting people familar on the tools
- : before jumping into a full object-oriented development? Or should
- : one jump right in a take the learning curve hit, sacrificing time to
- : market?
-
- : I would appreciate and feedback on the pitfalls and benefits to these
- : approaches.
-
-
- : Thanks in Adavance....
-
- : R.
-
-
- --
-
-
-
- \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_
-
- Tim Harvey email: rwi@teleport.com
- rightWrite, Inc. phone: (503) 246-4007
-